package com.cw.mapper;

import com.cw.beans.Scrap;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.ui.Model;

@Mapper
public class ScrapMapperImpl implements ScrapMapper {
@Autowired
    private ScrapMapper scrapMapper;
    public Scrap getScarapById(int id) {
        return scrapMapper.getScarapById(id);
    }

    public Scrap setscrap(Integer asset_id, Float residual_value) {
        return scrapMapper.setscrap(asset_id, residual_value);
    }

}

